﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Honestysoft.Financing.Model
{
    public partial class Bu_DocReceive
    {
        public Bu_DocReceive()
        { }
        public Bu_DocReceive(Bu_DocReceive_Temp temp)
        {
            this.Amount = temp.Amount;
            this.CD_One = temp.CD_One;
            this.CD1 = temp.CD1;
            this.CD2 = temp.CD2;
            this.CD3 = temp.CD3;
            this.CD4 = temp.CD4;
            this.CD5 = temp.CD5;
            this.CD6 = temp.CD6;
            this.CD7 = temp.CD7;
            this.CD8 = temp.CD8;
            this.CD9 = temp.CD9;
            this.Code = temp.Code;
            this.ContractID = temp.ContractID;
            this.CreateTime = temp.CreateTime;
            this.Creator = temp.Creator;
            this.DocRecieveStatus = temp.DocRecieveStatus;
            this.FromCompany = temp.FromCompanyName;
            this.FromEmployee = temp.FromEmployeeName;
            this.FromEmployeePhone = temp.FromEmployeePhone;
            this.ID = temp.ID;
            this.IsCD_One = temp.IsCD_One;
            this.IsCD1 = temp.IsCD1;
            this.IsCD2 = temp.IsCD2;
            this.IsCD3 = temp.IsCD3;
            this.IsCD4 = temp.IsCD4;
            this.IsCD5 = temp.IsCD5;
            this.IsCD6 = temp.IsCD6;
            this.IsCD7 = temp.IsCD7;
            this.IsCD8 = temp.IsCD8;
            this.IsCD9 = temp.IsCD9;
            this.IsPD_One = temp.IsPD_One;
            this.IsPD1 = temp.IsPD1;
            this.IsPD10 = temp.IsPD10;
            this.IsPD2 = temp.IsPD2;
            this.IsPD3 = temp.IsPD3;
            this.IsPD4 = temp.IsPD4;
            this.IsPD5 = temp.IsPD5;
            this.IsPD6 = temp.IsPD6;
            this.IsPD7 = temp.IsPD7;
            this.IsPD8 = temp.IsPD8;
            this.IsPD9 = temp.IsPD9;
            this.IsZD_One = temp.IsZD_One;
            this.IsZD1 = temp.IsZD1;
            this.IsZD2 = temp.IsZD2;
            this.IsZD3 = temp.IsZD3;
            this.IsZD4 = temp.IsZD4;
            this.Other = temp.Other;
            this.PD_One = temp.PD_One;
            this.PD1 = temp.PD1;
            this.PD10 = temp.PD10;
            this.PD2 = temp.PD2;
            this.PD3 = temp.PD3;
            this.PD4 = temp.PD4;
            this.PD5 = temp.PD5;
            this.PD6 = temp.PD6;
            this.PD7 = temp.PD7;
            this.PD8 = temp.PD8;
            this.PD9 = temp.PD9;
            this.ReceiveDate = temp.ReceiveDate;
            this.ToCompany = temp.ToCompanyName;
            this.ToEmployee = temp.ToEmployee;
            this.ToEmployeeName = temp.ToEmployeeName;
            this.ZD_One = temp.ZD_One;
            this.ZD1 = temp.ZD1;
            this.ZD2 = temp.ZD2;
            this.ZD3 = temp.ZD3;
            this.ZD4 = temp.ZD4;
        }
    }
}
